package spider.linkedin;

public class Task {
	private String idx;
	private String projectName;
	private String prospectid;
	public Task(String s){
		String[] line=s.split(",");
		this.idx=line[0];
		this.projectName=line[1];
		this.prospectid=line[2];
	}
	public Task(String idx,String projectname,String prospectid){
		this.idx=idx;
		this.projectName=projectname;
		this.prospectid=prospectid;
	}
	public String getProjectName() {
		return projectName;
	}
	public void setProjectName(String projectName) {
		this.projectName = projectName;
	}
	public String getProspectid() {
		return prospectid;
	}
	public void setProspectid(String prospectid) {
		this.prospectid = prospectid;
	}
	
	
	public String getIdx() {
		return idx;
	}
	public void setIdx(String idx) {
		this.idx = idx;
	}
	@Override
	public String toString(){
		return this.idx+","+this.projectName+","+this.prospectid;
	}
}
